#ifndef FLAG_LAB_LE_LAB_H
#define FLAG_LAB_LE_LAB_H

#include <QWidget>
#include <QJsonObject>
#include <QLineEdit>
#include <QLabel>
#include <QMap>

class Flag_Lab_Le_Lab : public QWidget
{
    Q_OBJECT

public:
    explicit Flag_Lab_Le_Lab(const QJsonObject &flagDetails, QWidget *parent = nullptr);
    ~Flag_Lab_Le_Lab() override { qDebug() << "[Flag_Lab_Le_Lab] ~Flag_Lab_Le_Lab()";};
signals:
    void valueChanged(const QString &key, const QString &value);

private:
    void setupControlLayout(const QJsonObject &flagDetails);
    QMap<QString, QLineEdit*> lineEdits;
};

#endif // FLAG_LAB_LE_LAB_H
